package com.konne.nightmare.FastPublicOpinion.mvp.presenter;

import com.konne.nightmare.FastPublicOpinion.base.BaseMvpPresenter;
import com.konne.nightmare.FastPublicOpinion.mvp.view.IAddDatabaseView;

import java.util.ArrayList;
import java.util.List;

/**
 * Create by ws.
 * on Data:2022/2/10  Time:下午 3:34.
 * description: 添加资料库的P层 .
 */
public class AddDatabasePresenter extends BaseMvpPresenter<IAddDatabaseView> {
    private List<String> classDatas;
    public void showClass() {
        if(classDatas==null){
            classDatas=new ArrayList<>();
            classDatas.add("数学一班");
            classDatas.add("数学二班");
            classDatas.add("数学三班");
            getView().showClass(classDatas);
        }
    }

}
